View Javadoc
1 package jrre.instructionset.pop; 2 3 import jrre.*; 4 5 public class Pop extends jrre.instructionset.Instruction { 6 7 public Pop(){ 8 9 name = "pop"; 10 description = "foo foo moo poo"; 11 length = 0; 12 } 13 14 /*** 15 * Executes the <strong><code>pop</code></strong> instruction. 16 * 17 */ 18 public void execute(){ 19 20 Stack.popOperand(); 21 22 } 23 24 public String toString(){ 25 StringBuffer toReturn = new StringBuffer(); 26 toReturn.append("pop"); 27 return toReturn.toString(); 28 } 29 }

This page was automatically generated by Maven